removeItem

abstract fun removeItem(key: String)

Removes the item with the specified key from the storage. Does nothing if there is no item with the specified key in the storage.

Parameters

key

the key name of the item to remove. Can be empty or blank

Throws

when the frame is closed

if the access to the storage is forbidden for the current document